// 导入二次封装axios
import koi from "@/utils/axios.ts";


export const listPage = (params: any) => koi.get("/admin/order/refund/list", params);

export const read = (id: any) => koi.get("/admin/order/refund/read", { id });
export const getStatusMap = () => koi.get("/admin/order/refund/getStatusMap");

export const agree = (data: any) => koi.post("/admin/order/refund/agree", data);
export const refuse = (data: any) => koi.post("/admin/order/refund/refuse", data);
